package com.hksj.app.websocket;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class WebsocketRequest implements Serializable {
    @JsonIgnore
    @ApiModelProperty("设备编码")
    private String code;

    @ApiModelProperty("消息类型 report_property = 设备属性上报 ,  ask_for_help = 紧急求助")
    private String type;

    @ApiModelProperty("json数据对象")
    private String data;
}
